-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
fix: ensure the index route matches with base and no trailing slash #14302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: e4c26dc The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
CodSpeed Performance ReportMerging #14302 will not alter performanceComparing Summary
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ascorbic!
Edit: looks like tests are failing, so take my approval with a pinch of salt 😅
Co-authored-by: Chris Swithinbank <[email protected]>
@ascorbic what's your plan with this PR? It's a can of worms isn't it? |
Yeah, it really is. It may need a rethink, or just a lot of tests fixing and making it a breaking change. |
Changes
The handling of base paths with trailingSlash never was causing an empty pattern to be generated for the root index. This PR ensures that it will always match
/
Fixes #14245
Testing
Fixed a test that was missing this
Docs